package com.jiazhong.cloud.gateway.provider.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/gateway_provider")
public class GatewayProviderController {
    @Value("${server.port}")
    private Integer port;

    @RequestMapping("/a")
    public String a() {
        return "This is GatewayProviderController`a method!port:" + port;
    }
}
